<?php

namespace zhtfrontend\models\datas;

use Yii;

/**
 * This is the model class for table "{{%substitute_check}}".
 *
 * @property integer $id
 * @property integer $userid
 * @property integer $student_id
 * @property integer $customer_id
 * @property string $info
 * @property integer $created_at
 */
class SubstituteCheck extends \zhtfrontend\components\bases\BaseModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%substitute_check}}';
    }


    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['userid', 'student_id', 'customer_id', 'created_at','student_check_id'], 'integer'],
            [['info'], 'string', 'max' => 255]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('zhtfrontend', '自动编号'),
            'userid' => Yii::t('zhtfrontend', '操作管理员编号'),
            'student_id' => Yii::t('zhtfrontend', '学员编号'),
            'customer_id' => Yii::t('zhtfrontend', '会员编号'),
            'info' => Yii::t('zhtfrontend', '备注信息'),
            'created_at' => Yii::t('zhtfrontend', '创建时间'),
            'student_check_id' => Yii::t('zhtfrontend', '签到id'),
        ];
    }
}
